import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
  path: '/',
  name: 'home',
  component: () => import('../pages/home/index.vue')
}, {
  path: '/kf',
  name: 'kf',
  component: () => import('../pages/kf/index.vue')
}, {
  path: '/news',
  name: 'news',
  component: () => import('../pages/news/index.vue')
}, {
  path: '/newsdetails',
  name: 'newsdetails',
  component: () => import('../pages/newsdetails/index.vue')
}, {
  path: '/mine',
  name: 'mine',
  component: () => import('../pages/mine/index.vue')
}, {
  path: '/orepool',
  name: 'orepool',
  component: () => import('../pages/orepool/index.vue')
}]

const router = new VueRouter({
  routes
})

export default router